home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
PC World Komputer 2010 April
/
PCWorld0410.iso
/
pluginy Firefox
/
684
/
684.xpi
/
chrome
/
fireftp.jar
/
content
/
welcome.xul
< prev
Wrap
Extensible Markup Language
|
2007-06-27
|
2KB
|
46 lines
<?xml version="1.0"?>
<?xml-stylesheet href="chrome://global/skin/global.css" type="text/css"?>
<?xml-stylesheet href="chrome://fireftp/skin/fireftp.css" type="text/css"?>
<!DOCTYPE dialog SYSTEM "chrome://fireftp/locale/fireftp.dtd">
<dialog id = "welcome"
title = "FireFTP"
width = "400"
height = "200"
xmlns = "http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul"
xmlns:html = "http://www.w3.org/1999/xhtml"
persist = "screenX screenY width height"
onload = "init(event)"
buttons = "accept"
ondialogaccept = "return true">
<script type="application/x-javascript" src="chrome://fireftp/content/js/etc/common.js"/>
<script>
<![CDATA[
function init(aEvent) {
document.documentElement.getButton('accept').focus();
$('message').value = window.arguments[0];
if (window.arguments[1]) {
$('message').collapsed = true;
$('thegoodbook').collapsed = false;
$('welcome').setAttribute("title", "The Book of Mozilla, 8:2");
setTimeout("window.moveTo(window.screen.availWidth / 2 - 525, window.screen.availHeight / 2 - 300);window.resizeTo(1050, 600);",0);
}
}
]]>
</script>
<textbox id="message" flex="1" multiline="true" readonly="true" value=""/>
<vbox id="thegoodbook" flex="1" collapsed="true" pack="center" >
<description class="mozillaquote">
&mozilla.quote;
</description>
<spacer style="height:15px"/>
<description class="mozillafrom">
&mozilla.from;
</description>
</vbox>
</dialog>